package com.infinitegroup.findmystuff.views;

import java.util.List;
import java.util.Map;

/**
 * 
 * Interface that contains the methods needed in the activity for the presenter to interact with it.
 * @author Stephen
 *
 */
public interface HomeView {
	/**
	 * Advance the app to the add item screen
	 * @param username Username of the account currently logged in
	 */
	public void advanceToAddItemView(String username);
	/**
	 * Displays the items in the inputed list
	 * @param items Items to display
	 */
	public void displayItems(List items);
	/**
	 * Displays the list of matches inputed
	 * @param matches List of items that match the search criteria
	 */
	public void displayMatches(List matches);
	/**
	 * Display the inputed message as a popup screen.
	 * @param message Message to display.
	 */
	public void displayMessage(String message);
	/**
	 * Advance the app to the view all items/search screen.
	 */
	public void advanceToViewAllView();
	/**
	 * Advance the app to the login screen.
	 */
	public void advanceToLogin();
	/**
	 * End the activity
	 */
	public void end();
	/**
	 * Sets the item list to be displayed.
	 * @param items List of items to display
	 */
	public void setItemsList(List items);
	
}
